package com.housediyadmin.events.goodsEvents
{
	import flash.events.Event;
	
	import mx.collections.ArrayCollection;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2010/12/17
	 */	
	public class GetGoodsByFittingIDEvent extends Event
	{
		public static const GET_GOODS_BY_FITTINGID:String = "getGoodsByFittingID";
		public static const UPDATE_GOODS_FITTING:String = "updateGoodsFitting";
		
		public var fittingId:int;
		public var goodsFittingArray:ArrayCollection;
		
		public function GetGoodsByFittingIDEvent(type:String, fittingId:int, goodsFittingArray:ArrayCollection = null)
		{
			super(type);
			this.fittingId = fittingId;
			this.goodsFittingArray = goodsFittingArray;
		}
		
		override public function clone():Event
		{
			return new GetGoodsByFittingIDEvent(type, fittingId, goodsFittingArray);
		}
	}
}